import Request from '@/request'
import type { Test } from '@/types/test'

interface Response<T = any> {
  code: number
  data: T extends any ? T : any
  message?: string
}
export const getTest = (): Promise<Response<Test>> => {
  return Request.get('/imgs')
}
